package com.zengyan.gd.repository;

import com.zengyan.gd.model.Relationship;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OU_Respository extends JpaRepository<Relationship,Integer> {

    List<Relationship> findByStudentNum(String studentNum);

    List<Relationship> findByOrgId(int org_id);

    Relationship findByStudentNumAndOrgId(String stunum , int org_id);


}
